package com.woniuxy.response;

/**
 * @author zoulaoshi
 * @description:
 * @title: ResponseResult
 * @projectName take_out_cashback
 * @date 2022/8/16
 */
public class ResponseResult<T> {
    /**
     * 返回代码
     */
    private int resCode;

    /**
     * 返回信息
     */
    private String resMsg;
    /**
     * 返回数据
     */
    private T resData;

    public int getResCode() {
        return resCode;
    }

    public void setResCode(int resCode) {
        this.resCode = resCode;
    }

    public String getResMsg() {
        return resMsg;
    }

    public void setResMsg(String resMsg) {
        this.resMsg = resMsg;
    }

    public T getResData() {
        return resData;
    }

    public void setResData(T resData) {
        this.resData = resData;
    }

    @Override
    public String toString() {
        return "ResponseResult{" +
                "resCode=" + resCode +
                ", resMsg='" + resMsg + '\'' +
                ", resData=" + resData +
                '}';
    }
}
